package gr.atc.epart.googlewrapper.youtube;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

import org.dom4j.Element;

public class YouTubeVideoEntry
{
 
	private String _videoId; 
	private String _publishDate;
	private String _updateDate;
	private String _videoTitle;
	
	private String _authorName;
	private String _authorPage;
	private String _commentsUrl;
	private int    _commentsCounter;
	
	private String _videoUrl;
	private String _videoDescription;
	private int    _durationInSeconds;
	
	private String _complaintsUrl;
	private String _ratingsUrl;
	private double _ratingAverage;
	private int _maxAverage;
	private int _minAverage;
	private int _numOfRatings;
	
	private int _viewCount;
	private int _favouriteCount;
	
	
	private ArrayList<YouTubeVideoThumbnail> _thumbnails;
	
	public YouTubeVideoEntry()
	{
		_thumbnails = new ArrayList<YouTubeVideoThumbnail>();	
	}
	
	public String getVideoId()
	{
		return _videoId;
	}
	
	public void setVideoId(String id)
	{
		_videoId = id;
	}
	
	public String getPublishDate()
	{
		return _publishDate;
	}
	
	public void setPublishDate(String date)
	{
		_publishDate = date;
	}
	
	public String getUpdateDate()
	{
		return _updateDate;
	}
	
	public void setUpdateDate(String date)
	{
		_updateDate = date;
	}
	
	public String getVideoTitle()
	{
		return _videoTitle;
	}
	
	public void setVideoTitle(String title)
	{
		_videoTitle = title;
	}
	
	public String getAuthorName()
	{
		return _authorName;
	}
	
	public void setAuthorName(String name)
	{
		_authorName = name;
	}
	
	public String getAuthorPage()
	{
		return _authorPage;
	}
	
	public void setAuthorPage(String authorPageUrl)
	{
		_authorPage = authorPageUrl;
	}
	
	public String getCommentsUrl()
	{
		return _commentsUrl;
	}
	
	public void setCommentsUrl(String commentsUrl)
	{
		_commentsUrl = commentsUrl;
	}
	
	public int getCommentsCounter()
	{
		return _commentsCounter;
	}
	
	public void setCommentsCounter(int counter)
	{
		_commentsCounter = counter;
	}
	
	public String getVideoUrl()
	{
		return _videoUrl;
	}
	
	public void setVideoUrl(String videoUrl)
	{
		_videoUrl = videoUrl;
	}
	
	public String getVideoDescription()
	{
		return _videoDescription;
	}
	
	public void setVideoDescription(String description)
	{
		_videoDescription = description;
	}
	
	
	public int getDuration()
	{
		return _durationInSeconds;
	}
	
	public void setDuration(int seconds)
	{
		_durationInSeconds = seconds;
	}
	
	public String getComplaintsUrl()
	{
		return _complaintsUrl;
	}
	
	public void setComplaintsUrl(String complaintsUrl)
	{
		_complaintsUrl = complaintsUrl;
	}
	
	public String getRatingsUrl()
	{
		return _ratingsUrl;
	}
	
	public void setRatingsUrl(String ratingsUrl)
	{
		_ratingsUrl = ratingsUrl;
	}
	
	public double getRatingAverage()
	{
		return _ratingAverage;
	}
	
	public void setRatingAverage(double averageRating)
	{
		_ratingAverage = averageRating;
	}
	
	public int getMaxAverage()
	{
		return _maxAverage;
	}
	
	public void setMaxAverage(int maxAverage)
	{
		_maxAverage = maxAverage;
	}
	
	public int getMinAverage()
	{
		return _minAverage;
	}
	
	public void setMinAverage(int minAverage)
	{
		_minAverage = minAverage;
	}
	
	public int getNumOfRatings()
	{
		return _numOfRatings;
	}
	
	public void setNumOfRatings(int numOfRatings)
	{
		_numOfRatings = numOfRatings;
	}
	
	public int getViewCount()
	{
		return _viewCount;
	}
	public void setViewCount(int count)
	{
		_viewCount = count;
	}
	
	public int getFavouriteCount()
	{
		return _favouriteCount;
	}
	
	public void setFavouriteCount(int count)
	{
		_favouriteCount = count;
	}

	public void addThumbnail(YouTubeVideoThumbnail thumbnail)
	{
		_thumbnails.add(thumbnail);
	}
	
	public ArrayList<YouTubeVideoThumbnail> getThumbnailsUrls()
	{
		return _thumbnails;
	}
}
